package sky.tro;

import org.hibernate.type.Type;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: Gauss
 * Date: 01.05.13
 * Time: 11:16

 * To change this template use File | Settings | File Templates.
 */
public class ParameterAndCriteria {
    private String paramName;
    private Integer symbol;
    private Object paramValue;
    private Type hibernateType;

    public ParameterAndCriteria(String paramName, Integer symbol, Object paramValue, Type hibernateType) {
        this.paramName = paramName;
        this.symbol = symbol;
        this.paramValue = paramValue;
        this.hibernateType = hibernateType;
    }

    public String getParamName() {

        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public Integer getSymbol() {
        return symbol;
    }

    public void setSymbol(Integer symbol) {
        this.symbol = symbol;
    }

    public Object getParamValue() {
        return paramValue;
    }

    public void setParamValue(Object paramValue) {
        this.paramValue = paramValue;
    }

    public Type getHibernateType() {
        return hibernateType;
    }

    public void setHibernateType(Type hibernateType) {
        this.hibernateType = hibernateType;
    }
}
